package com.service;

import com.dao.ManagerDao;
import com.pojo.Manager;
import com.service.ManagerService;

import java.util.List;
import java.util.Map;

public class ManagerServiceImpl implements ManagerService {
    private ManagerDao managerDao;

    public ManagerDao getManagerDao() {
        return managerDao;
    }

    public void setManagerDao(ManagerDao managerDao) {
        this.managerDao = managerDao;
    }

    @Override
    public Manager findById(int id) {
        Manager manager = managerDao.findById(id);
        return manager;
    }

    @Override
    public List<Manager> findAll() {
        return null;
    }

    @Override
    public void addOne() {

    }

    @Override
    public void deleteById(int id) {

    }

    @Override
    public List<Manager> findByStatus() {
        return null;
    }

    @Override
    public void updateNameById(int id) {

    }
}
